package com.wmapp.service;

import java.util.Date;
import java.util.List;

import com.wmapp.domain.MCUConfig;
import com.wmapp.domain.NetworkAddress;
import com.wmapp.domain.RouteItem;
import com.wmapp.domain.SMTP;

public interface SetupService {
	NetworkAddress getNetworkAddress();
	
	void saveNetworkAddress(NetworkAddress networkAddress);
	
	void rebootMCU();
	
	List<RouteItem> queryRoutes();
	
	MCUConfig getMCUConfig();
	
	void saveMCUConfig(MCUConfig mcuConfig);
	
	void addRoute(RouteItem routeItem);
	
	void removeRoutes(List<RouteItem> items);
	
	void modifyTime(Date date);
	
	SMTP getSMTP();
	
	void saveSMTP(SMTP smtp);
}
